
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="IE=edge" >
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
<title>用户详情</title>
<script src="__ADMIN_JS__/core/jquery.min.js"></script>
<link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.7/skins/default/aliplayer-min.css" />
<script type="text/javascript" charset="utf-8" src="https://g.alicdn.com/de/prismplayer/2.8.7/aliplayer-min.js"></script>
<link rel="stylesheet" href="{:config('static_url')}/public/static/libs/weui/lib/mui.min.css" />
<script src="__LIBS__/layer/layer.js?v={:config('asset_version')}"></script>
<link rel="stylesheet" href="__ADMIN_CSS__/bootstrap.min.css">
<link rel="stylesheet" id="css-theme" href="__ADMIN_CSS__/themes/{:config('system_color')}.min.css">
</head>
<body>
<div class="prism-player" id="player-con"></div>
<table class="table table-builder table-hover table-bordered table-striped js-table-checkable-target " style ="width:98%;margin:0 auto;margin-top:10px">
	<caption>用户基本信息</caption>
	<tr>
		<td rowspan='4' style='width:5%'><img src="{$userInfo.avatorUrl}"  style="width:100px;height:100px;" /></td>
		<td style='width:25%'><b>UID：</b>{$userInfo.userId}</td>
	</tr>
	<tr>
		<td style='width:25%'><b>昵称：</b>{$userInfo.nickName}</td>
	</tr>
	<tr>
		<td><b>性别</b>：{$userInfo.sex}</td>
	</tr>
	<tr>
		<td><b>生日</b>：{$userInfo.birthday}</td>
	</tr>
	<tr>
		<td colspan='2' ><b>签名：</b> {$userInfo.autograph}</td>
	</tr>
</table>
<table class="table table-builder table-hover table-bordered table-striped js-table-checkable-target " style ="width:98%;margin:0 auto;margin-top:20px">
	<caption>登录信息</caption>
	
	<tr>
		<th>注册时间：</th> <td>{$userInfo.createTime}</td>
	</tr>
	<tr>
		<th>最后登录IP：</th> <td>{$userInfo.lastLoginIp}</td>
	</tr>
	<tr>
		<th>最后登录时间：</th> <td>{$userInfo.lastLoginTime}</td>
	</tr>
	<tr>
		<th>登录方式：</th> <td>{$userInfo.lastLoginType}</td>
	</tr>
	<tr>
		<th>推荐人ID：</th> <td>{$userInfo.f_uid}</td>
	</tr>
	
	<tr>
		<th style='width:30%'>登录次数：</th> <td>{$userInfo.loginTimes}</td>
	</tr>
</table>

<table class="table table-builder table-hover table-bordered table-striped js-table-checkable-target " style ="width:98%;margin:0 auto;margin:20px 10px">
	<caption>数据统计</caption>
	
	<tr>
		<th style='width:30%'>热度(粉丝数*5 + 获赞数*1)：</th> <td>{$userInfo.hotNum}</td>
	</tr>
	<tr>
		<th>作品数：</th> <td>{$userInfo.worksTimes} <button  class="btn btn-sm btn-primary" type="button" id='video_list'>作品列表</button> </td>
	</tr>
	<tr>
		<th>粉丝数：</th> <td>{$userInfo.fansTimes} <button  class="btn btn-sm btn-primary" type="button" id='fans_list'>粉丝列表</button></td>
	</tr>
	<tr>
		<th>关注数：</th> <td>{$userInfo.followTimes} <button  class="btn btn-sm btn-primary" type="button" id='follow_list'>关注列表</button></td>
	</tr>
	<tr>
		<th>获赞数：</th> <td>{$userInfo.bePraisedTimes}</td>
	</tr>
	<tr>
		<th>邀请会员数：</th> <td>{$userInfo.yaoqingNum}</td>
	</tr>
	<!-- <tr> -->
		<!-- <th>好友数：</th> <td>{$userInfo.friendTimes}</td> -->
	<!-- </tr> -->
	<tr>
		<th>点赞数：</th> <td>{$userInfo.praisedTimes}</td>
	</tr>
	<tr>
		<th>评论次数：</th> <td>{$userInfo.commentTimes}</td>
	</tr>
	
</table>
</body>
<script>
$("#follow_list").click(function(e) {
	layer.open({
	  type: 2,
	  title: '关注列表',
	  shadeClose: true,
	  shade: 0.8,
	  area: ['95%', '95%'],
	  content: "{:url('follow_list',['uid' => $userInfo.userId, '_pop' => 1])}" //iframe的url
	}); 

});


$("#fans_list").click(function(e) {
	layer.open({
	  type: 2,
	  title: '粉丝列表',
	  shadeClose: true,
	  shade: 0.8,
	  area: ['95%', '95%'],
	  content: "{:url('fans_list',['uid' => $userInfo.userId, '_pop' => 1])}" //iframe的url
	}); 
});

$("#video_list").click(function(e) {
	layer.open({
	  type: 2,
	  title: '视频列表',
	  shadeClose: true,
	  shade: 0.8,
	  area: ['95%', '95%'],
	  content: "{:url('/video/index/index/_pop/1/?_s=uid='.$userInfo.userId.'&_o=uid=eq&_pop=1')}" //iframe的url
	  
	}); 
});

</script>
</html>